# 案例1
def show_info(name, age, height=None, weight=None):
    print("*" * 20)
    print(f"【姓名：{name}】")
    print(f"【年龄：{age}】")
    if height:
        print(f"【身高：{height}】")
    if weight:
        print(f"【体重：{weight}】")
    print("*" * 20)


# show_info("yuan", 18, 187, 70)
# show_info("alex", 48)

# show_info("rain", 23, 175,60)
# show_info("rain", 23, 175)
# show_info("rain", 23, None,70)
show_info("rain", 23, weight=70)
